package java流程控制;

import java.util.Scanner;

public class Switchlearning {
    public static void main(String[] args) {
        Scanner option=new Scanner(System.in);
        int choice =option.nextInt();
        switch(choice){
            case 1:System.out.println("您的选择是："+choice);
                break;
            case 2:System.out.println("您的选择是："+choice);
                break;
            default: System.out.println("输入有误");

        }

    }
}
